package com.mrlv.ht.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class User extends BasePojo{
    private String userId;//登录用户id

    private String deptId;//所属部门id

    private String username;//登录名

    private String password;//登录密码

    private BigDecimal state;//状态
    
    private UserInfo userInfo;//表示一个用户只有一个部门

    private Dept dept;//表一个用户只有一个用户详细信息
    
    private List<ModuLe> modules = new ArrayList<ModuLe>();
    
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId == null ? null : deptId.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public BigDecimal getState() {
        return state;
    }

    public void setState(BigDecimal state) {
        this.state = state;
    }

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public UserInfo getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public List<ModuLe> getModules() {
		return modules;
	}

	public void setModules(List<ModuLe> modules) {
		this.modules = modules;
	}
    
}